
<div id="modal-dialog-chgrp" title="Change User Group"
	style="display: none;">
	<table align='left'>
		<tr>
			<td>
				<table>
					<tr>
						<td><span id='sluserdetails'></span>&nbsp;&nbsp;<span
							class="throbberOffWhite" id="chggrp_activity_throbber"></span></td>
					</tr>
					<tr>
						<td><img width="5px" height="20px"
							src="/phase2/images/spacer.gif"></td>
					</tr>
					<tr>
						<td>Available Groups</td>
					</tr>
					<tr>
						<td>
							<table>
								<tbody id="chgrp_tbody">
									<tr id="chgrp_tbody_pattern" style='display: none;'
										align="left">
										<td align="left" class="lable" id='chgrp_td'
											style="text-align: left;"><input type="hidden"
											id="chggrp_grpid"><input type='radio'
											name='chgrp_grps' id='chgrp_rdo'>&nbsp;<span
											id='chgrp_grpname'></span></td>
									</tr>
								</tbody>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td><img width="5px" height="20px"
				src="/phase2/images/spacer.gif"></td>
		</tr>
		<tr>
			<td><input type="button"
				class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
				value="Done" onclick="javascript:donechggrp();" />&nbsp; <input
				type="button"
				class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
				value="Cancel"
				onclick="javascript:jQuery('#modal-dialog-chgrp').dialog('close');" />
			</td>
		</tr>
	</table>

</div>
<div id="companyProfileConatiner" class="hide">
	<div id="tabs">
		<ul class="">
			<li><a href="#tabs-1" class="selected">Company Information</a></li>
			<li><a href="#tabs-2">Company Locations </a></li>
			<li><a href="#tabs-3">User Management</a></li>
			<li><a href="#tabs-4">User Groups</a></li>
			<li><a href="#tabs-5">Payment Terms &amp; Schedule </a></li>
			<li><a href="#tabs-6">Notification Management</a></li>
		</ul>
		<div id="tabs-1">
			<form id="from_company_register" onSubmit="return false"
				method='Post'>


				<div
					style="background-color: #E8F1FA; color: #000000; margin: 5px; font-size: 12px; font-weight: bold; height: 26px"
					class="bold">
					<img width="5px" height="20px" src="/phase2/images/spacer.gif">
					Company Information &nbsp;&nbsp;<span class="throbberOff"
						id="companyInfo_activity_throbber"></span>
				</div>

				<table border="0" cellspacing="1" cellpadding="0" width="100%">
					<tr>
						<td><div class="lable">
								Company Name <span class="redtxt">*</span> :
							</div></td>
						<td><div class="w150">
								<input type="text" class="textbox" name="comp_name"
									id="comp_profile_name" title="Company Name"
									data-validate="validate(required)" />
							</div></td>
						<td><div class="lable">
								Doing Business As <span class="redtxt">*</span> :
							</div></td>
						<td><div class="w150">
								<input type="text" class="textbox" name="business"
									id="comp_profile_business" data-validate="validate(required)" />
							</div></td>
						<td><div class="lable">SSN :</div></td>
						<td><div class="w150">
								<input type="text" class="textbox" name="comp_profile_ssn"
									id="comp_profile_ssn" />
							</div></td>
					</tr>
					<tr>
						<td colspan="6"><img height="10px" src="images/spacer.gif"></td>
					</tr>
					<tr>
						<td><div class="lable">Tax Id :</div></td>
						<td><div class="w150">
								<input type="text" class="textbox" name="comp_profile_tax_id"
									id="comp_profile_tax_id" />
							</div></td>
						<td><div class="lable">Other Id Type :</div></td>
						<td><div class="w150">
								<select class="listbox " name="otherid_type"
									id="comp_profile_otherid_type">
									<option value="">Select A Value</option>
									<option value="PAN">PAN</option>
								</select>
							</div></td>
						<td><div class="lable">Other Id Value :</div></td>
						<td colspan="3"><div class="w150">
								<input type="text" class="textbox" name="business"
									id="comp_profile_otherid_value" />
							</div></td>


					</tr>
					<tr>
						<td colspan="6"><img height="10px" src="images/spacer.gif"></td>
					</tr>
					<tr>
						<td><div class="lable">Contact Person :</div></td>
						<td><div class="w150">
								<input type="text" class="textbox"
									id="comp_profile_contact_person" />
							</div></td>
						<td><div class="lable">URL :</div></td>
						<td><div class="w150">
								<input type="text" class="textbox" id="comp_profile_url" />
							</div></td>
						<td><div class="lable">Phone :</div></td>
						<td colspan="3"><div class="w150">
								<input type="text" class="textbox" id="comp_profile_phone"
									data-validate="validate(required)" />
							</div></td>


					</tr>
					<tr>
						<td colspan="6"><img height="10px" src="images/spacer.gif"></td>
					</tr>
					<tr>
						<td><div class="lable">Fax :</div></td>
						<td><div class="w150">
								<input type="text" class="textbox" id="comp_profile_fax" />
							</div></td>
						<td><div class="lable">Email :</div></td>
						<td><div class="w150">
								<input type="text" class="textbox" id="comp_profile_email"
									data-validate="validate(email)" />
							</div></td>
						<td><div class="lable">Currency :</div></td>
						<td colspan="3"><div class="w150">
								<input type="text" id="comp_profile_currency" class="textbox"
									name="business" id="otherIdValue"
									data-validate="validate(required)" />
							</div></td>


					</tr>
					<tr>
											<td colspan="6"><img height="10px"
												src="images/spacer.gif"></td>
										</tr>
					<tr>
											<td><div class="lable">
													Address Line 1:<span class="redtxt">*</span>
												</div></td>
											<td><div class="w150">
													<input type="text" class="textbox" name="addr1" id="main_addr1"
														title="Address Line 1" data-validate="validate(required)" />
													<input type="hidden" id="cur_loc_id"
														data-validate="validate(false)" />
												</div></td>

											<td><div class="lable">Address Line 2:</div></td>
											<td><div class="w150">
													<input type="text" class="textbox" name="addr2" id="main_addr2"
														title="Address Line 2" data-validate="validate(required)" />
												</div></td>
												
												<td><div class="lable">Address Line 3:</div></td>
											<td><div class="w150">
													<input type="text" class="textbox" name="addr3" id="main_addr3"
														title="Address Line 2" />
												</div></td>
										</tr>
										<tr>
											<td colspan="6"><img height="10px"
												src="images/spacer.gif"></td>
										</tr>
										<tr>
											<td><div class="lable">
													City :<span class="redtxt">*</span>
												</div></td>
											<td><div class="w150">
													<input type="text" class="textbox" name="city_name"
														id="main_city_name" title="City"
														data-validate="validate(required)" />
												</div></td>

											<td><div class="lable">State :</div></td>
											<td><div class="w150">
													<input type="text" class="textbox" name="state_name"
														id="main_state_name" title="State"
														data-validate="validate(required)" />
												</div></td>
											<td><div class="lable">Postal/Zip Code :</div></td>
											<td><div class="w100">
													<input type="text" class="textbox" name="zipcode"
														id="zipcode" data-validate="validate(zip)" />
												</div></td>

										</tr>
										
										<tr>
											<td colspan="6"><img height="10px"
												src="images/spacer.gif"></td>
										</tr>
										<tr>
											<td><div class="lable">Country :</div></td>
											<td><div class="w150">
													<select id="main_country" name="country" class="listbox"
														data-validate="validate(false)">
														<option value="" selected="selected">Select
															Country</option>
														<option value="US">United States</option>
														<option value="OTHER">Others</option>
													</select>
												</div></td>
												
											<td colspan="2"><img height="10px"
												src="images/spacer.gif"></td>

										</tr>
										
										<tr>
											<td colspan="6"><img height="10px"
												src="images/spacer.gif"></td>
										</tr>



					<tr>
						<td colspan="6"><img height="10px" src="images/spacer.gif"></td>
					</tr>
					<tr>
						<td colspan="6" align="center" class=""><input type="Submit"
							onClick='updateCompanyProfile();'
							class=" ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
							value="Save" />&nbsp;<input type="button"
							onClick='resetCompanyProfile();'
							class=" ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
							value="Cancel" /></td>
					</tr>
				</table>
			</form>
		</div>

		<div id="tabs-2">
		<div
			style="background-color: #E8F1FA; color: #000000; margin: 5px; font-size: 12px; font-weight: bold; height: 26px"
			class="bold">
			<img width="5px" height="20px" src="/phase2/images/spacer.gif">
			Select A Location For Details &nbsp;&nbsp;<span class="throbberOff"
				id="companyLoc_activity_throbber"></span>
		</div>
			
			<div
				style="float: left; width: 20%; border-right: solid 1px #736F6E; height: 300px">
				<div id='test12' class="addIcon">
					<a href="javascript:addNewLocation();">Add New Location</a><br>
					<img height="10px" src="images/spacer.gif">
				</div>
				<div id='test11'></div>
			</div>



			<div id='div_msg_111' style='width:75%'>
								<form id="form_addcomploc" onSubmit="return false" action="#"
									method="post">
									
									<table border="0" cellspacing="0" cellpadding="3" width="95%">

										<tr>
											<td><div class="lable">
													Address Line 1:<span class="redtxt">*</span>
												</div></td>
											<td><div class="w150">
													<input type="text" class="textbox" name="addr1" id="addr1"
														title="Address Line 1" data-validate="validate(required)" />
													<input type="hidden" id="cur_loc_id"
														data-validate="validate(false)" />
												</div></td>

											<td><div class="lable">Address Line 2:</div></td>
											<td><div class="w150">
													<input type="text" class="textbox" name="addr2" id="addr2"
														title="Address Line 2" data-validate="validate(required)" />
												</div></td>
										</tr>
										<tr>
											<td colspan="6"><img height="10px"
												src="images/spacer.gif"></td>
										</tr>
										<tr>
											<td><div class="lable">Address Line 3:</div></td>
											<td><div class="w150">
													<input type="text" class="textbox" name="addr3" id="addr3"
														title="Address Line 2" />
												</div></td>
											<td><div class="lable">Postal/Zip Code :</div></td>
											<td><div class="w100">
													<input type="text" class="textbox" name="zipcode"
														id="zipcode" data-validate="validate(zip)" />
												</div></td>

										</tr>
										<tr>
											<td colspan="6"><img height="10px"
												src="images/spacer.gif"></td>
										</tr>
										<tr>
											<td><div class="lable">
													City :<span class="redtxt">*</span>
												</div></td>
											<td><div class="w150">
													<input type="text" class="textbox" name="city_name"
														id="city_name" title="City"
														data-validate="validate(required)" />
												</div></td>

											<td><div class="lable">State :</div></td>
											<td><div class="w150">
													<input type="text" class="textbox" name="state_name"
														id="state_name" title="State"
														data-validate="validate(required)" />
												</div></td>
										</tr>
										<tr>
											<td colspan="6"><img height="10px"
												src="images/spacer.gif"></td>
										</tr>
										<tr>
											<td><div class="lable">Country :</div></td>
											<td><div class="w150">
													<select id="country" name="country" class="listbox"
														data-validate="validate(false)">
														<option value="" selected="selected">Select
															Country</option>
														<option value="US">United States</option>
														<option value="OTHER">Others</option>
													</select>
												</div></td>

										</tr>
										<tr>
											<td colspan="6"><img height="10px"
												src="images/spacer.gif"></td>
										</tr>
										<tr>
											<td><div class="lable">
													Billing Address:<span class="redtxt">*</span>
												</div></td>
											<td><div class="w150">
													<input type="checkbox" class="checkbox" name="use_billing"
														id="use_billing" title="Use For Billing"
														data-validate="validate(false)" />
												</div></td>


										</tr>

										<tr>
											<td colspan="6"><img height="10px"
												src="images/spacer.gif"></td>
										</tr>
										<tr>


											<td><div class="lable">
													Shipping Address:<span class="redtxt">*</span>
												</div></td>
											<td><div class="w150">
													<input type="checkbox" class="checkbox" name="use_shipping"
														id="use_shipping" title="Use For Shipping"
														data-validate="validate(false)" />
												</div></td>
											<td colspan="2"><img height="10px"
												src="images/spacer.gif"></td>

										</tr>
										<tr>
											<td colspan="6"><img height="10px"
												src="images/spacer.gif"></td>
										</tr>

										</table>
										</form>
				<br>
				<table width="100%">
				<tr>
					<td colspan="6"><img height="10px" src="images/spacer.gif"></td>
				</tr>
				<tr>
					<td align="center"><input type="submit"
						class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
						value="Save" onclick="javascript:addupdateloc();" />&nbsp; <input
						type="button"
						class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
						value="Cancel" onclick="javascript:clearlocinfo();" />&nbsp; <input
						type="button"
						class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
						value="Delete" onclick="javascript:deleteMeLocation();" /></td>

				</tr>
			</table>

				
			</div>

		</div>

		<div id="tabs-3">
		<div
			style="background-color: #E8F1FA; color: #000000; margin: 5px; font-size: 12px; font-weight: bold; height: 26px"
			class="bold">
			<img width="5px" height="20px" src="/phase2/images/spacer.gif">
			Select A User From Following List &nbsp;&nbsp;<span class="throbberOff"
				id="companyUserManagement_activity_throbber"></span>
		</div>
		
		<img height="10px" src="images/spacer.gif">
		
			<form id="from_addcomp" onSubmit="return false" action="#"		method="post">
				
				<div id="ctx_common_user_list_tbldiv" class="show"	style="margin: 5px;" style='width:100%;height:auto'>
					<table cellpadding="0" cellspacing="0" border="0" 
						id="ctx_common_user_list_tbl" style="width:900px">
						<thead>
							<tr>
								<th width="10%">Select</th>
								<th width="25%">User Name</th>
								<th width="25%">Email</th>
								<th width="20%">Group</th>
								<th width="20%">Status</th>
							</tr>
						</thead>
						<tbody>

						</tbody>

					</table>
				</div>
				
				<div>
							<input id='b_disableUser' type="submit"
							class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
							value="Disable/Enable User"
							onclick="javascript:vrfydisableusr('DISABLE');" />&nbsp;<input
							id='b_verifyUser' type="submit"
							class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
							value="Verify User"
							onclick="javascript:vrfydisableusr('VERIFY');" />&nbsp;
							<input id='b_chgGroupUser' type="button"
							class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
							value="Change User Group" onclick="javascript:omodal();" />&nbsp;
							<input
							id='b_cancelGroupUser' type="button"
							class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
							value="Cancel" onclick="javascript:ocancelchggrp();" />
				</div>
				
			</form>
		</div>

		<div id="tabs-4">
		
		<div
			style="background-color: #E8F1FA; color: #000000; margin: 5px; font-size: 12px; font-weight: bold; height: 26px"
			class="bold">
			<img width="5px" height="20px" src="/phase2/images/spacer.gif">
			Select A User Group For Details &nbsp;<span class="throbberOff"
				id="companyUserGroup_activity_throbber"></span>
		</div>
		
		<img height="10px" src="images/spacer.gif">
		
		<div
				style="float: left; width: 20%; border-right: solid 1px #736F6E; height: 300px">
				<div id='test1212' class="addIcon">
					<a href="javascript:addNewGroup();">Add New Group</a>
					<br>
					<img height="10px" src="images/spacer.gif">
				</div>
				<div id='test1211_1' style=""></div>
				<div id='test1211' style=""></div>
				
				
			</div>


			<div id="div_msg_1211">
					<form id="from_addgroup" onSubmit="return false" method="post"> 
													<div style="padding:0px 0px 0px 270px;">
														<lable>Group Name<span class="redtxt"> *</span>:</lable>
														<input type="text" size="30" class="textbox" value=""
													 id="usrgrp_name" title='Group Name' name='usrgrp_name'  data-validate="validate(required)"/>
													</div>
												</form>
					<input type="hidden" value="" id="usrgrp_id">
					<table align='center'>
						<tr>
							<td></td>
							<td><div style="width: 300px;">
									<table align='center'>
										<tr>
											<td colspan='4' align='left'>
												
											<td>
										</tr>
										<tr>
											<td colspan="4"><img height="10px"
												src="images/spacer.gif"></td>
										</tr>
									</table>
								</div></td>
						</tr>
						<tr>
							<td></td>
							<td>

								<div style="width: 300px;">
									<table align='center'>
										<tr>
											<td colspan='4' align='center'>Purchase Order Privilage
											
											<td>
										</tr>
										<tr>
											<td class="customRow1">Send</td>
											<td class="customRow2">Receive</td>
											<td class="customRow1">Change</td>
											<td class="customRow2">Cancel</td>
										</tr>
										<tr>
											<td class="customRow1"><input type='checkbox'
												id='p_sendpo'></td>
											<td class="customRow2"><input type='checkbox'
												id='p_recvpo'></td>
											<td class="customRow1"><input type='checkbox'
												id='p_chngpo'></td>
											<td class="customRow2"><input type='checkbox'
												id='p_cancpo'></td>
										</tr>
									</table>
								</div>
							</td>
							<td>
								<div style="width: 300px;">
									<table align='center'>
										<tr>
											<td colspan='4' align='center'>Invoices Privilage
											<td>
										</tr>
										<tr>
											<td class="customRow1">Send</td>
											<td class="customRow2">Receive</td>
											<td class="customRow1">Approve</td>
											<td class="customRow2">Reject</td>
										</tr>
										<tr>
											<td class="customRow1"><input type='checkbox'
												id='p_sendinv'></td>
											<td class="customRow2"><input type='checkbox'
												id='p_recvinv'></td>
											<td class="customRow1"><input type='checkbox'
												id='p_appvinv'></td>
											<td class="customRow2"><input type='checkbox'
												id='p_rejtinv'></td>
										</tr>
									</table>
								</div>
							</td>
					</table>

					<img height="10px" src="images/spacer.gif">

					<table align='center'>

						<tr>
							<td></td>
							<td>
								<div style="width: 300px;">
									<table align='center'>
										<tr>
											<td colspan='4' align='center'>Credit Memo Privilage
											<td>
										</tr>
										<tr>
											<td class="customRow1">Send</td>
											<td class="customRow2">Receive</td>
											<td class="customRow1">Approve</td>
											<td class="customRow2">Reject</td>
										</tr>
										<tr>
											<td class="customRow1"><input type='checkbox'
												id='p_sendmmo'></td>
											<td class="customRow2"><input type='checkbox'
												id='p_recvmmo'></td>
											<td class="customRow1"><input type='checkbox'
												id='p_appvmmo'></td>
											<td class="customRow2"><input type='checkbox'
												id='p_rejtmmo'></td>
										</tr>
									</table>
								</div>
							</td>
							<td>
								<div style="width: 300px; float: right">
									<table align='center'>
										<tr>
											<td colspan='4' align='center'>Payment Privilage
											<td>
										</tr>
										<tr>
											<td class="customRow1">Send</td>
											<td class="customRow2">Receive</td>
											<td class="customRow1">Update</td>

										</tr>
										<tr>
											<td class="customRow1"><input type='checkbox'
												id='p_sendpmt'></td>
											<td class="customRow2"><input type='checkbox'
												id='p_recvpmt'></td>
											<td class="customRow1"><input type='checkbox'
												id='p_updtpmts'></td>

										</tr>
									</table>
								</div>
							</td>
					</table>
				
			</div>



			<table width="100%">
				<tr>
					<td colspan="6"><img height="10px" src="images/spacer.gif"></td>
				</tr>
				<tr>
					<td align="center"><input type="submit"
						class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
						value="Save" id='b_svusrgrp' onclick="javascript:saveUserGroup();" />&nbsp;<input
						type="submit"
						class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
						value="Cancel" onclick="javascript:init_usrgrp();" /></td>

				</tr>
			</table>



		</div>
		<div id="tabs-5">
		
			<div class="bold" style="background-color: #E8F1FA; color: #000000; margin: 5px; font-size: 12px; font-weight: bold; height: 26px">
					<img width="5px" height="20px" src="/phase2/images/spacer.gif">
					Please Select Payment Terms of Company:<span id="paymentInfo_activity_throbber" class="throbberOff"></span>
				</div>
			<form id="from_addcomp" action="#" method="post">
				<div>
					<table style="height: 100%;">
						
						
						<tr style="text-align:left; margin:left;">
							<td class="lable" valign="top" align="center">Available Payment Terms </td>
							<td valign="top" align="center"></td>
							<td class="lable" valign="top" align="center">Selected Payment
								Terms <img width="30px" "images/spacer.gif"></td>
						</tr>
						</div>

						<tr align="left">
							<td valign="top" align="left"><select multiple="multiple"
								size="4" class="w400" id="reg_compPaymentTerms">
									<option value="US00">US00 - Net 1 Day</option>
									<option value="US01">US01 - Net 2 Day</option>
									<option value="US02">US02 - 1% discount if paid within
										10 days, Net 30 days</option>
									<option value="US03">US03 - Net 3 Day</option>
									<option value="US04">US04 - 2% discount if paid within
										10 days, Net 30 days</option>
									<option value="US05">US05 - Net 5 days</option>
									<option value="US06">US06 - 2% discount if paid within
										15 days, Net 30 Days</option>
									<option value="US07">US06 - 2% discount if paid within
										15 days, Net 30 Days</option>
									<option value="US08">US08 - 1% discount if paid within
										15 days, Net 30 Days</option>
									<option value="US09">US09 - 2% discount if paid within
										10 days, Net 11 Days</option>
									<option value="US10">US10 - Net 10 days</option>
									<option value="US11">US11 - 1.5% discount if paid
										within 10 days, Net 16 Days</option>
									<option value="US12">US12 - 1% discount if paid within
										14 days, Net 15 Days</option>
									<option value="US13">US13 - 2% discount if paid within
										15 days, Net 16 Days</option>
									<option value="US14">US14 - 3% discount if paid within
										10 days, Net 30 Days</option>
									<option value="US15">US15 - Net 15 days</option>
									<option value="US16">US16 - 0.5% discount if paid
										within 10 days, Net 30 Days</option>
									<option value="US17">US17 - 2% discount if paid within
										10 days, Net 31 Days</option>
									<option value="US18">US18 - 10% discount if paid
										within 10 days, Net 30 Days</option>
									<option value="US19">US19 - 5% discount if paid within
										20 days, Net 30 Days</option>
									<option value="US20">US20 - Net 20 days</option>
									<option value="US21">US21 - 2% discount if paid within
										15 days, Net 60 Days</option>
									<option value="US22">US22 - 1% discount if paid within
										30 days, Net 31 Days</option>
									<option value="US30">US30 - Net 30 days</option>
									<option value="US40">US40 - Net 40 days</option>
									<option value="US45">US45 - Net 45 days</option>
									<option value="US50">US50 - Net 50 days</option>
									<option value="US60">US60 - Net 60 days</option>
							</select></td>
							<td valign="top" ><input type="button"
								value="&gt;&gt;"
								class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
								onclick="rhsTransfer(false);">
								<img height="10px" src="images/spacer.gif">
								<input type="button" value="&lt;&lt;" onclick="lhsTransfer();"
								class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only">
							</td>

							<td valign="top" align="left"><select multiple="multiple"
								size="4" class="w400" id="reg_compPaymentTermsSelected">

							</select></td>
						</tr>
					</table>


				</div>
				<div>
					<img height="20px" src="images/spacer.gif">
				</div>
				
				<div class="bold" style="background-color: #E8F1FA; color: #000000; margin: 5px; font-size: 12px; font-weight: bold; height: 26px">
					<img width="5px" height="20px" src="/phase2/images/spacer.gif">
					Please Select Payment Schedule:<span id="paymentInfo_activity_throbber" class="throbberOff"></span>
				</div>
				
				<div>
					<table>
						
						<tr>
							<td><img height="20px" src="images/spacer.gif"></td>
						</tr>
						<tr>
							<td align="left" class="lable">Schedule Type:&nbsp;</td>
							<td align="left"><input id="schwk" type="radio"
								name="paySch" value="WEEKLY"
								onclick="javascript:selpmtschedule(this.value);">Weekly&nbsp;<input
								type="radio" id="schbiwk" name="paySch" value="BIWEEKLY"
								onclick="javascript:selpmtschedule(this.value);">&nbsp;Bi-Weekly&nbsp;<input
								type="radio" id="schmn" name="paySch" value="MONTHLY"
								onclick="javascript:selpmtschedule(this.value);">&nbsp;Monthly</td>
						</tr>
						<tr align="left" id="schd_wkrw">
							<td class="lable" align="left">Schedule Value:</td>
							<td align="left"><SELECT class="w200" id="schd_wkrw_sel">
									<OPTION VALUE="">Choose a Day of the Week</option>
									<OPTION VALUE="MON">Monday</option>
									<OPTION VALUE="TUE">Tuesday</option>
									<OPTION VALUE="WED">Wednesday</option>
									<OPTION VALUE="THU">Thursday</option>
									<OPTION VALUE="FRI">Friday</option>
									<OPTION VALUE="SAT">Saturday</option>
									<OPTION VALUE="SUN">Sundayy</option>
							</SELECT></td>
						</tr>
						<tr id="schd_mnrw">
							<td align="left" class="lable">Schedule Value:</td>
							<td align="left"><SELECT class="w200" id="schd_mnrw_sel">
									<OPTION VALUE="">Choose a Day of the Month</option>
									<OPTION VALUE="01">01</option>
									<OPTION VALUE="02">02</option>
									<OPTION VALUE="03">03</option>
									<OPTION VALUE="04">04</option>
									<OPTION VALUE="05">05</option>
									<OPTION VALUE="06">06</option>
									<OPTION VALUE="07">07</option>
									<OPTION VALUE="08">08</option>
									<OPTION VALUE="09">09</option>
									<OPTION VALUE="10">10</option>
									<OPTION VALUE="11">11</option>
									<OPTION VALUE="12">12</option>
									<OPTION VALUE="13">13</option>
									<OPTION VALUE="14">14</option>
									<OPTION VALUE="15">15</option>
									<OPTION VALUE="16">16</option>
									<OPTION VALUE="17">17</option>
									<OPTION VALUE="18">18</option>
									<OPTION VALUE="19">19</option>
									<OPTION VALUE="20">20</option>
									<OPTION VALUE="21">21</option>
									<OPTION VALUE="22">22</option>
									<OPTION VALUE="23">23</option>
									<OPTION VALUE="24">24</option>
									<OPTION VALUE="25">25</option>
									<OPTION VALUE="26">26</option>
									<OPTION VALUE="27">27</option>
									<OPTION VALUE="28">28</option>
									<OPTION VALUE="29">29</option>
									<OPTION VALUE="30">30</option>
									<OPTION VALUE="31">31</option>
							</SELECT></td>

						</tr>


					</table>
					<table width="100%">
						<tr>
							<td align="center"><input type="button"
								class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
								value="Save" onclick="javascript:saveupdpmtinfo();" />&nbsp; <input
								type="button"
								class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
								value="Cancel" onclick="javascript:init_pmtterms();" /></td>
						</tr>
					</table>
				</div>
			</form>
		</div>

		<div id="tabs-6">
			<form id="from_addcomp" action="#" method="post">
				<table cellpadding="0" cellspacing="0" border="0" class="display"
					width="50%" id="ctx_common_comm_mode_tbl">
					<tr>
						<td><div>Email Preferences</div></td>
					</tr>
					<tr align="left">
						<td><div class="lable">Purchase Order Sent:</div></td>
						<td><div class="w150">
								<input type="checkbox" class="checkbox" name="po_sent"
									id="po_sent" title="Purchase Order Sent" />
							</div></td>

						<td><div class="lable">Purchase Order Received:</div></td>
						<td><div class="w150">
								<input type="checkbox" class="checkbox" name="po_received"
									id="po_received" title="Purchase Order Received" />
							</div></td>
					</tr>
					<tr>
						<td colspan="2"><img height="10px" src="images/spacer.gif"></td>
					</tr>
					<tr>
						<td><div class="lable">Invoice Sent:</div></td>
						<td><div class="w150">
								<input type="checkbox" class="checkbox" name="inv_sent"
									id="inv_sent" title="Invoice Sent" />
							</div></td>

						<td><div class="lable">Invoice Received:</div></td>
						<td><div class="w150">
								<input type="checkbox" class="checkbox" name="inv_received"
									id="inv_received" title="Invoice Received" />
							</div></td>
					</tr>
					<tr>
						<td colspan="2"><img height="10px" src="images/spacer.gif"></td>
					</tr>
					<tr>
						<td><div class="lable">Credit Memo Sent:</div></td>
						<td><div class="w150">
								<input type="checkbox" class="checkbox" name="crd_sent"
									id="crd_sent" title="Credit Memo Sent" />
							</div></td>

						<td><div class="lable">Credit Memo Received:</div></td>
						<td><div class="w150">
								<input type="checkbox" class="checkbox" name="crd_received"
									id="crd_received" title="Credit Memo Received" />
							</div></td>
					</tr>
					<tr>
						<td colspan="2"><img height="10px" src="images/spacer.gif"></td>
					</tr>
					<tr>
						<td><div class="lable">Payment Sent:</div></td>
						<td><div class="w150">
								<input type="checkbox" class="checkbox" name="pymt_sent"
									id="pymt_sent" title="Payment Sent" />
							</div></td>

						<td><div class="lable">Payment Received:</div></td>
						<td><div class="w150">
								<input type="checkbox" class="checkbox" name="pymt_received"
									id="pymt_received" title="Payment Received" />
							</div></td>
					</tr>
					<tr>
						<td colspan="2"><img height="10px" src="images/spacer.gif"></td>
					</tr>
				</table>
				<table width="100%">
					<tr>
						<td align="center"><input type="button"
							class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
							value="Save" onclick="javascript:saveupdnoti();" />&nbsp; <input
							type="button"
							class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
							value="Cancel" onclick="javascript:init_noti_prefs();" /></td>
					</tr>
				</table>

			</form>
		</div>
	</div>
</div>

<script type="text/javascript" src="/phase2/js/companyprofile.js"></script>
<script type="text/javascript">
	//render_jqcommTable();
</script>
